package cn.woniu.ecommerceplatform.service;

import cn.woniu.ecommerceplatform.entity.Address;
import cn.woniu.ecommerceplatform.entity.PageQueryParam;
import cn.woniu.ecommerceplatform.util.ResponseResult;

public interface AddressService {
    /**
     * 模糊查询
     * @param addressPageQueryParam
     * @return
     */
    ResponseResult<?> queryAddressList(PageQueryParam<Address> addressPageQueryParam);

    /**
     * 修改
     * @param address
     * @return
     */
    ResponseResult<?> updateAddress(Address address);
    ResponseResult<?> addAddress(Address address);

    ResponseResult<?> insertAddress(Address address);

    ResponseResult<?> queryAddressById(Integer id);



    ResponseResult<?> queryAddressListByAccount(PageQueryParam<Address> addressPageQueryParam);


    ResponseResult<?> updateAllAddress(Address address);




}
